package com.mallcloud.mall.mall.api.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@ApiModel(value = "MallProductCategoryCacheVO", description = "商品分类缓存")
@Data
public class MallProductCategoryCacheVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value="分类id")
	private Long categoryId;

    @ApiModelProperty(value="父ID")
    private Long parentId;

    @ApiModelProperty(value="分类名称")
    private String name;

    @ApiModelProperty(value="分类描述")
    private String remark;

    @ApiModelProperty(value="分类地址{parent_id}-{child_id},...")
    private String path;

    @ApiModelProperty(value="状态 1:可用, 0:禁用")
    private Integer status;

    @ApiModelProperty(value="分类图标")
    private String icon;

    @ApiModelProperty(value="分类的显示图片")
    private String imgUrl;

    @ApiModelProperty(value="分类层级 从0开始")
    private Integer classificationLevel;

    @ApiModelProperty(value="店铺id")
    private Integer shopId;

    @ApiModelProperty(value="排序")
    private Integer sortOrder;

}
